package com.atguigu06.project.team.domain;

/**
 * @author NoobMaster69  * @date 2024/6/2 0002 星期日 22:07
 */
public class Architect extends Designer{
    private int stock;


    public Architect(int id, String name, int age, double salary, Equipment equipment, double bonus,int stock) {
        super(id, name, age, salary, equipment,bonus);
        this.stock = stock;
    }

    public Architect(int stock) {
        super();
        this.stock = stock;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }
    @Override
    public String toString() {
        return getDetail() + "\t架构师\t" + getStatus() + "\t" +
                getBonus() + "\t" + getStock() + "\t" + getEquipment();
    }

}
